﻿using System.Xml.Serialization;

namespace Yun.Open
{
    public class ResponseParameter
    {
        /// <summary>
        /// 参数ID
        /// </summary>
        [XmlElement("id")]
        public int Id { get; set; } 

        /// <summary>
        /// 名称
        /// </summary>
        [XmlElement("name")]
        public string Name { get; set; }


        /// <summary>
        /// 类型名字
        /// </summary>
        [XmlElement("type_name")]
        public string TypeName { get; set; }


        /// <summary>
        /// 示例值
        /// </summary>
        [XmlElement("sample_value")]
        public string SampleValue { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [XmlElement("description")]
        public string Description { get; set; }


        /// <summary>
        /// 父ID
        /// </summary>
        [XmlElement("parent_id")]
        public int ParentId { get; set; }
    }
}
